projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ba80a7
)
xen: arm: enable sync console in machine_reboot.
author
Ian Campbell
<ian.campbell@citrix.com>
Thu, 15 Jan 2015 11:22:27 +0000
(11:22 +0000)
committer
Ian Campbell
<ian.campbell@citrix.com>
Tue, 27 Jan 2015 16:47:02 +0000
(16:47 +0000)
Otherwise the last thing printed is "(XE" or something.
In line with x86 also disable the watchdog and spin debugging.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Reviewed-by: Julien Grall <julien.grall@linaro.org>
xen/arch/arm/shutdown.c
patch
|
blob
|
history
diff --git
a/xen/arch/arm/shutdown.c
b/xen/arch/arm/shutdown.c
index 4988b03fc47dd8c752fd6293017e4e71659fcfd6..e53ec975bfd3c08c1d44e4e5ce284d1a4cef1d8b 100644
(file)
--- a/
xen/arch/arm/shutdown.c
+++ b/
xen/arch/arm/shutdown.c
@@
-38,6
+38,10
@@
void machine_restart(unsigned int delay_millisecs)
{
int timeout = 10;
+ watchdog_disable();
+ console_start_sync();
+ spin_debug_disable();
+
local_irq_enable();
smp_call_function(halt_this_cpu, NULL, 0);
local_irq_disable();